package com.delivery.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

@ApiModel(description = "根据套餐id查询包含的菜品")
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class ComboContainedDishVO {

    @ApiModelProperty(value = "菜品份数", required = true, example = "2")
    @NotNull
    private Integer copies;

    @ApiModelProperty(value = "菜品描述", required = true, example = "经典川菜口味")
    @NotBlank
    private String description;

    @ApiModelProperty(value = "菜品图片路径", required = true, example = "dishes/sichuan-style.jpg")
    @NotBlank
    private String image;

    @ApiModelProperty(value = "菜品名称", required = true, example = "宫保鸡丁")
    @NotBlank
    private String name;
}
